package com.situ.ssm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.situ.ssm.entity.Student;

public interface StudentMapper {
	int getTotalCount();
	List<Student> findByPage(@Param(value = "offset")Integer offset, @Param(value = "pageSize")Integer pageSize);
	int insert(Student student);
	int deleteById(Integer id);
	
	int update(Student student);
	public int deleteAllByArray(int[] idArray);
	public int deleteAllByList(List<Integer> idList);
	List<Student> findByCondition(Student student);
	
}
